package School;

/**
 * 定义普通人、老师、班主任、学生、学校5个类，每个类提供适当的成员变量和成员方法，
 * 要求具有良好的封装性，定义主类使之运行。
 */

public class test {
    public static void main(String[] args) {

        common common = new common("张三", "普通人", "河北", 30, "12111", "122");

        student stu1 = new student("雷军", "学生", "北京", 21, "13122", "12110", "244111111","24计科1");
        student stu2 = new student("俞敏洪", "学生", "内蒙古", 22, "12133", "12315", "244111111","24计科2");

        teacher teacher = new teacher("马云", "老师", "北京", 30, "12155", "19947085104", "高数","内蒙古财经大学","24计科3");

        home_room_Teacher homeRoomTeacher = new home_room_Teacher("jack", "班主任", "南京", 29, "12138", "119", "Python", "24计科1","内蒙古财经大学","24计科2");
        home_room_Teacher homeRoomTeacher1 = new home_room_Teacher("jerry", "班主任", "云南", 27, "12121", "110", "Java", "24计科2","内蒙古财经大学","24计科1");

        school school = new school("内蒙古财经大学", "hohhot");

        System.out.println(common.show_Info());
        System.out.println(stu1.show_Info());
        System.out.println(teacher.show_Info());
        System.out.println(homeRoomTeacher.show_Info());

        home_room_Teacher[] teachers = {homeRoomTeacher, homeRoomTeacher1};
        student[] students = {stu1, stu2};

        school.introduceSchool(teachers,students);
    }
}